export const languages = {
  zh: {
    // 基础信息
    skills: '技能专长',
    projects: '项目经历',
    education: '教育背景',
    honors: '荣誉奖项',
    papers: '科研论文',
    experience: '工作经验',
    blogs: '博客',
    
    // 项目相关
    projectOverview: '项目概述',
    effect: '效果',
    workResponsibilities: '工作职责',
    workResults: '工作成果',
    relatedProjects: '相关项目',
    
    // 界面元素
    exportPDF: '导出 PDF',
    loading: '加载中...',
    language: '语言',
    chinese: '中文',
    english: 'English',
    
    // 联系信息
    phone: '电话',
    email: '邮箱',
    address: '地址',
    gender: '性别',
    age: '年龄',
    degree: '学位',
    school: '学校',
    
    // 时间相关
    period: '时间',
    year: '年',
    month: '月',
    
    // 技术标签
    technologies: '技术栈',
    
    // 其他
    description: '描述',
    issuer: '颁发机构',
    date: '日期',
    title: '标题',
    authors: '作者',
    journal: '期刊',
    index: '索引',
  },
  
  en: {
    // Basic Info
    skills: 'Skills',
    projects: 'Projects',
    education: 'Education',
    honors: 'Honors',
    papers: 'Publications',
    experience: 'Experience',
    blogs: 'Blogs',
    
    // Project related
    projectOverview: 'Overview',
    effect: 'Results',
    workResponsibilities: 'Responsibilities',
    workResults: 'Achievements',
    relatedProjects: 'Related Projects',
    
    // UI Elements
    exportPDF: 'Export PDF',
    loading: 'Loading...',
    language: 'Language',
    chinese: '中文',
    english: 'English',
    
    // Contact Info
    phone: 'Phone',
    email: 'Email',
    address: 'Address',
    gender: 'Gender',
    age: 'Age',
    degree: 'Degree',
    school: 'School',
    
    // Time related
    period: 'Period',
    year: 'Year',
    month: 'Month',
    
    // Tech tags
    technologies: 'Technologies',
    
    // Others
    description: 'Description',
    issuer: 'Issuer',
    date: 'Date',
    title: 'Title',
    authors: 'Authors',
    journal: 'Journal',
    index: 'Index',
  }
};

export const getText = (language, key) => {
  return languages[language]?.[key] || key;
}; 